
/* 页面容器样式 */
.user-drive-hospital-page-container {
  width: 100%;
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 内容包装器 */
.user-drive-hospital-content-wrapper {
  min-height: calc(100vh - 60px);
}

/* 卡片通用样式 */
.user-drive-hospital-flip-card,
.user-drive-hospital-card,
.user-drive-hospital-process-card {
  background-color: #fff;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.user-drive-hospital-card-title-container {
  padding: 16px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-drive-hospital-card-title {
  font-weight: bold;
  color: #333;
  margin-left: 10px;
}

.user-drive-hospital-card-toggle-button {
  color: #1890ff;
  margin-right: 20px;
}

/* 图片和文字切换卡片 */
.user-drive-hospital-flip-card.flipped {
  /* 切换状态样式 */
}

.user-drive-hospital-flip-card-content {
  padding: 16px;
}

.user-drive-hospital-hidden {
  display: none;
}

.user-drive-hospital-card-image {
  border-radius: 4px;
  object-fit: contain;
  width: 100%;
  height: auto;
}

/* 需求列表样式 */
.user-drive-hospital-requirements-list {
  margin-bottom: 20px;
}

.user-drive-hospital-requirements-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  display: block;
}

.user-drive-hospital-requirements-items {
  padding-left: 5px;
}

.user-drive-hospital-text {
  padding: 10px;
}

.user-drive-hospital-requirement-item {
  margin-bottom: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 10px;
  line-height: 35px;
}

.user-drive-hospital-requirement-number {
  font-weight: bold;
  color: #1890ff;
  margin-right: 5px;
  width: 20px;
}

.user-drive-hospital-requirement-item text {
  flex: 1;
  color: #666;
  line-height: 1.2;
}

/* 提醒卡片 */
.user-drive-hospital-reminder-card {
  background-color: #fff7e6;
  padding: 12px;
  border-radius: 4px;
  border-left: 4px solid #fa8c16;
}

.user-drive-hospital-reminder-title {
  font-weight: bold;
  color: #fa8c16;
  margin-bottom: 8px;
  display: block;
}

.user-drive-hospital-reminder-content {
  color: #666;
  line-height: 18px;
}

/* 医院卡片样式 */
.user-drive-hospital-city {
  color: #1890ff;
  padding: 0;
}

.user-drive-hospital-tip {
  background-color: #fff7e6;
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.user-drive-hospital-tip-icon {
  margin-right: 8px;
}

.user-drive-hospital-tip text {
  color: #666;
}

/* 医院列表样式 */
.user-drive-hospital-list {
  padding: 16px;
}

.user-drive-hospital-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.user-drive-hospital-item:last-child {
  border-bottom: none;
}

.user-drive-hospital-name {
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

.user-drive-hospital-address {
  color: #666;
  margin-bottom: 8px;
  display: block;
  line-height: 20px;
}

.user-drive-hospital-worktime-section,
.user-drive-hospital-phone-section {
  margin-bottom: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.user-drive-hospital-section-title {
  color: #999;
  margin-right: 8px;
}

.user-drive-hospital-worktime-weekdays {
  min-width: 100px;
  color: #666;
}

.user-drive-hospital-phone-number {
  color: #1890ff;
  text-decoration: underline;
}

/* 医院底部提示 */
.user-drive-hospital-bottom-tips {
  padding: 16px;
  background-color: #fff7e6;
}

.user-drive-hospital-bottom-tip {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.user-drive-hospital-bottom-tip2 {
  color: #999;
  line-height: 18px;
}

/* 流程步骤样式 */
.user-drive-hospital-process-card .user-drive-hospital-card-title {
  padding: 16px;
  display: block;
}

.user-drive-hospital-process-steps {
  padding: 0 16px 16px;
}

.user-drive-hospital-process-step {
  display: flex;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.user-drive-hospital-process-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.user-hospital-step-active .user-drive-hospital-step-number{
  background-color: #7cb305;
  color: #fff;
}

.user-drive-hospital-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d9d9d9;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 12px;
  margin-top: 10px;
}

.user-drive-hospital-step-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-drive-hospital-step-content text {
  color: #333;
}

.user-drive-hospital-step-content-btn {
  height: fit-content;
  border-radius: 4px;
  background-color: #f5f5f5;
  color: #666;
  padding: 16px;
}

.user-hospital-btn-active {
  background-color: #fcffe6;
  color: #7cb305;
  padding: 16px;
  font-weight: 700;
  height: fit-content;
}

/* 完成部分 */
.user-drive-hospital-completion-section {
  padding: 16px;
  background-color: #f0f9ff;
  margin-top: 20px;
  height: fit-content;
  margin-bottom: 20px;
}

.user-drive-hospital-continue-button {
  width: 100%;
  background-color: #1890ff;
  color: #fff;
  border-radius: 4px;
  height: 88px;
}

/* 空状态和加载状态 */
.user-drive-hospital-empty-container,
.user-drive-hospital-loading-container {
  text-align: center;
  padding: 40px 0;
  color: #999;
}


/* 文字版本样式 */
.user-drive-hospital-requirements-list {
  margin-bottom: 16px;
}

.user-drive-hospital-requirements-items {
  margin-top: 8px;
}

.user-drive-hospital-requirement-item {
  display: flex;
  margin-bottom: 12px;
  line-height: 28px; /* 增加行高，使换行后的文字上下间隙更大 */
}

.user-drive-hospital-requirements-title {
  margin-bottom: 8px;
  display: block;
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
  .user-drive-hospital-flip-card,
  .user-drive-hospital-card,
  .user-drive-hospital-process-card {
    margin: 8px;
  }
  
  .user-drive-hospital-card-title-container {
    padding: 12px 16px;
  }
  
  .user-drive-hospital-list {
    padding: 12px 16px;
  }
  
  .user-drive-hospital-requirement-number {
    min-width: 40px;
  }
  
  .user-drive-hospital-worktime-weekdays {
    min-width: 90px;
  }
}
